const router = require('koa-router')()
const { getCateList, addCate, delCate } = require("../controllers/cateController")

router.prefix('/cate')

// 宠物分类列表
router.get("/list", getCateList)
// 添加分类
router.post("/add", addCate)
// 删除分类
router.delete("/remove", delCate)

module.exports = router